package com.antifly.common.service;

/**
 * @author LuoJiaHui
 * @date 2023/3/28 8:41
 * @description
 */
public interface RedisService {

    boolean set(final String key, Object value);

    boolean setEx(final String key, Object value, Long expireTime);

    boolean exists(final String key);

    Object get(final String key);

    boolean remove(final String key);
}
